<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>上传文件</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/file/upload" method="post" enctype="multipart/form-data">
        <input type="file" name="file"/>
        <button type="submit">上传</button>
    </form><br/>

    <a href="${pageContext.request.contextPath}/file/download?name=76007499-f43b-4e7c-ab86-6aca0721fc5d.jpg">下载</a>
</body>
</html>
